using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    public class NewsInfo
    {
        #region Model
        private int _id = 0;
        private string _title = "";
        private string _fcontent = "";
        private string _userid = "";
        private int _pageviews = 0;
        private int _praise = 0;
        private string _contact = "";
        private string _phone = "0";
        private string _company = "";
        private string _province = "";
        private string _city = "";
        private string _area = "";
        private string _coverimg = "";
        private DateTime _createdate = DateTime.Parse("2015-01-01 00:00:00");
        private string _ids;
        private string _name = "";
        private string _fcontents = "";

        public string Fcontents
        {
            get { return _fcontents; }
            set { _fcontents = value; }
        }

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 标题
        /// </summary>
        public string Title
        {
            set { _title = value; }
            get { return _title; }
        }
        /// <summary>
        /// 内容
        /// </summary>
        public string FContent
        {
            set { _fcontent = value; }
            get { return _fcontent; }
        }
        /// <summary>
        /// 作者
        /// </summary>
        public string UserID
        {
            set { _userid = value; }
            get { return _userid; }
        }
        /// <summary>
        /// 浏览量
        /// </summary>
        public int Pageviews
        {
            set { _pageviews = value; }
            get { return _pageviews; }
        }
        /// <summary>
        /// 点赞量
        /// </summary>
        public int Praise
        {
            set { _praise = value; }
            get { return _praise; }
        }
        /// <summary>
        /// 联系人
        /// </summary>
        public string Contact
        {
            set { _contact = value; }
            get { return _contact; }
        }
        /// <summary>
        /// 联系人电话
        /// </summary>
        public string Phone
        {
            set { _phone = value; }
            get { return _phone; }
        }
        /// <summary>
        /// 单位名称
        /// </summary>
        public string Company
        {
            set { _company = value; }
            get { return _company; }
        }
        /// <summary>
        /// 省
        /// </summary>
        public string Province
        {
            set { _province = value; }
            get { return _province; }
        }
        /// <summary>
        /// 市
        /// </summary>
        public string City
        {
            set { _city = value; }
            get { return _city; }
        }
        /// <summary>
        /// 区
        /// </summary>
        public string Area
        {
            set { _area = value; }
            get { return _area; }
        }
        /// <summary>
        /// 封面图片
        /// </summary>
        public string CoverImg
        {
            set { _coverimg = value; }
            get { return _coverimg; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateDate
        {
            set { _createdate = value; }
            get { return _createdate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string IDS
        {
            set { _ids = value; }
            get { return _ids; }
        }
        #endregion Model
    }
}

